home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
3006
/
3006.xpi
/
chrome
/
dwhelper.jar
/
content
/
counter-label.xml
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-15
|
1KB
|
40 lines
<?xml version="1.0"?>
<!-- *****************************************************************************
* Copyright (c) 2006-2009 Michel Gutierrez. All Rights Reserved.
****************************************************************************** -->
<!DOCTYPE bindings SYSTEM "chrome://dwhelper/locale/dwhelper.dtd" >
<bindings xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="CounterLabel" extends="widgets.xml#widget">
<xbl:content xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<label anonid="xLabel" xbl:inherits="value"/>
<children style="display: none;"/>
</xbl:content>
<implementation>
<constructor>
<![CDATA[
this.dlMgr=Components.classes["@downloadhelper.net/download-manager;1"]
.getService(Components.interfaces.dhIDownloadMgr);
this.dlMgr.registerCounter(this.xLabel);
]]>
</constructor>
<destructor>
<![CDATA[
this.dlMgr.unregisterCounter(this.xLabel);
]]>
</destructor>
</implementation>
</binding>
</bindings>